<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<title>修改个人信息 - 用户中心</title>
		<%@ include file="/common/include/title.jsp" %>
	</head>
	<body>
		<%-- 静态包含 --%>
		<%@ include file="/common/include/header.jsp" %>
		
		<div class="container-fluid">
			<div class="row">
				<div class="col-sm-8 col-sm-offset-1 main">
					<h2 class="sub-header">修改管理员</h2>
	
					<form id="form" class="form-horizontal" method="post"
						action="${pageContext.request.contextPath }/back/MenuBackServlet?method=menuUpdateSubmit">
						<input type="hidden" name="aid" value="${requestScope.menu.id }"/>
						
						<div class="form-group">
							<label for="createId" class="col-sm-2 control-label">管理员创建Id:</label>
							<div class="col-sm-8">
								<input type="text" id="createId" name="createId" value="${requestScope.menu.createId }"
									class="form-control" placeholder="管理员创建Id">
							</div>
						</div>
						<div class="form-group">
							<label for="updateId" class="col-sm-2 control-label">管理员更新Id:</label>
							<div class="col-sm-8">
								<input type="text" id="updateId" name="updateId" value="${requestScope.menu.updateId }"
									class="form-control" placeholder="管理员更新Id">
							</div>
						</div>
						<div class="form-group">
							<label for="parentId" class="col-sm-2 control-label">上一级菜单Id:</label>
							<div class="col-sm-8">
								<input type="text" id="parentId" name="parentId" value="${requestScope.menu.parentId }"
									class="form-control" placeholder="上一级菜单Id">
							</div>
						</div>
						<div class="form-group">
							<label for="name" class="col-sm-2 control-label">名称:</label>
							<div class="col-sm-8">
								<input type="text" id="name" name="name" value="${requestScope.menu.name }"
									class="form-control" placeholder="名称">
							</div>
						</div>
						<div class="form-group">
							<label for="url" class="col-sm-2 control-label">菜单URL:</label>
							<div class="col-sm-8">
								<input type="text" id="url" name="url" value="${requestScope.menu.url }"
									class="form-control" placeholder="菜单URL">
							</div>
						</div>
						<div class="form-group">
							<label for="content" class="col-sm-2 control-label">内容:</label>
							<div class="col-sm-8">
								<input type="text" id="content" name="content" value="${requestScope.menu.content }"
									class="form-control" placeholder="内容">
							</div>
						</div>
						<div class="form-group">
							<label for="isLeafStatus" class="col-sm-2 control-label">是否为叶子:</label>
							<div class="col-sm-8">
								<input type="text" id="isLeafStatus" name="isLeafStatus" value="${requestScope.menu.isLeafStatus }"
									class="form-control" placeholder="是否为叶子">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">状态:</label>
							<div class="col-sm-8">
								<input type="radio" name="status" id="status1" value="1" ${requestScope.menu.status == '1' ? 'checked' : '' }>
								<label for="status1">启用</label>
								<input type="radio" name="status" id="status0" value="0" ${requestScope.menu.status == '0' ? 'checked' : '' }>
								<label for="status0">禁用</label>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-2">
								<button class="btn btn-lg btn-primary" type="submit">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	
	
		<!-- 提示信息 -->
		<div class="container">
			<div class="col-sm-8 col-sm-offset-1">
				${requestScope.info }
			</div>
		</div>
		<%-- 包含一下脚 --%>
		<%@ include file="/common/include/footer.jsp" %>	
	</body>
</html>